import request from "@/utils/request";
export function getNoList(query) {
    return request({
        url: "/tk/account-numbers/page",
        method: "get",
        params: query,
    });
}

export function addNo(query) {
    return request({
        url: "/tk/account-numbers/create",
        method: "post",
        data: query,
    });
}

export function editNo(query) {
    return request({
        url: "/tk/account-numbers/update",
        method: "put",
        data: query,
    });
}

export function downloadNo(query) {
    return request({
        url: "/tk/account-numbers/update",
        method: "put",
        data: query,
    });
}



export function updataNoStatus(query) {
    return request({
        url: "/tk/account-numbers/batch-update",
        method: "put",
        data: query,
    });
}


export function deleteNo(query) {
    return request({
        url: "/tk/account-numbers/batch-delete",
        method: "delete",
        params: query,
    });
}

export function exportNo(query) {
    return request({
        url: "/tk/account-numbers/export-excel",
        method: "get",
        params: query,
        responseType: "blob",
    });
}
